package com.ma.mapper;

import com.ma.model.Car;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * author: MaHX
 * date: 2019/5/27/22:46
 * description:
 **/
@Mapper
@Repository
public interface CarMapper {
    @Select("select * from car where user_id=#{user_id}")
    Car findCarById(int user_id);
}
